package com.gui.proxy.staticProxy;

import com.gui.proxy.impl.StaticProxyServiceImpl;

public class StaticProxyDemo {

    public static void main(String[] args) {
        StaticProxyService service = new StaticProxyServiceImpl();
        StaticProxy proxy = new StaticProxy(service);
        String result = proxy.foo("hello proxy!");
        System.out.println(result);
    }

}
